package Utilities;

/**
 * Created by orlandocampos on 10/3/14.
 */
public class Commons {


    /*Timeouts*/
    public static final int TIMEOUT_2_SECONDS = 2;
    public static final int TIMEOUT_5_SECONDS = 5;
    public static final int TIMEOUT_10_SECONDS = 10;
    public static final int TIMEOUT_15_SECONDS = 15;
    public static final int TIMEOUT_20_SECONDS = 20;
    public static final int TIMEOUT_25_SECONDS = 25;
    public static final int TIMEOUT_30_SECONDS = 30;

    public static void wait(int secsToWait) throws Exception {

        for (int second = 0; ; second++) {
            if ((second > secsToWait)) {
                break;
            }
            Thread.sleep(1000);
        }
    }

}
